package com.ruoyi.classify.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 商品分类对象 t_classify
 *
 * @author ruoyi
 * @date 2024-11-25
 */
public class TClassifyVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类id */
    private Long id;

    /** 分类名 */
    @Excel(name = "分类名")
    private String classifyName;

    /** 分类图片 */
    private String classifyImg;
    private List<TClassifytwoVo> children;

    public List<TClassifytwoVo> getChildren() {
        return children;
    }

    public void setChildren(List<TClassifytwoVo> children) {
        this.children = children;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setClassifyName(String classifyName)
    {
        this.classifyName = classifyName;
    }

    public String getClassifyName()
    {
        return classifyName;
    }
    public void setClassifyImg(String classifyImg)
    {
        this.classifyImg = classifyImg;
    }

    public String getClassifyImg()
    {
        return classifyImg;
    }

    @Override
    public String toString() {
        return "TClassifyVo{" +
                "id=" + id +
                ", classifyName='" + classifyName + '\'' +
                ", classifyImg='" + classifyImg + '\'' +
                ", children=" + children +
                '}';
    }
}
